import 'package:elephant_fish/util/size_util.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class RoomManagerMyStudioPage extends StatefulWidget {
  const RoomManagerMyStudioPage({Key key}) : super(key: key);

  @override
  _RoomManagerMyStudioPageState createState() => _RoomManagerMyStudioPageState();
}

class _RoomManagerMyStudioPageState extends State<RoomManagerMyStudioPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Color(0xff140c3d),
      body: Align(
        alignment: Alignment.topCenter,
        child: Container(
          width: SizeUtil.px(710),
          height: SizeUtil.px(324),
          decoration: BoxDecoration(
            color: Color(0xff2b244d),
            borderRadius: BorderRadius.all(Radius.circular(SizeUtil.px(20)))
          ),
          child: Column(
            children: [
              SizedBox(height: SizeUtil.px(35),),
              InkWell(
                child: Stack(
                  children: [
                    Align(
                      alignment: Alignment.topLeft,
                      child: Padding(
                        padding: EdgeInsets.only(left: SizeUtil.px(30)),
                        child: Text(
                          '管理员',style: TextStyle(fontSize: SizeUtil.px(29),color: Color(0xfff3f3f3)),
                        ),
                      ),
                    ),
                    Align(
                      alignment: Alignment.topRight,
                      child: Padding(
                        padding: EdgeInsets.only(right: SizeUtil.px(22)),
                        child: Icon(
                          Icons.arrow_forward_ios,size: SizeUtil.px(29),color: Color(0xffffffff),
                        ),
                      ),
                    ),
                  ],
                ),
                onTap: (){
                  print('管理员');
                },
              ),
              SizedBox(height: SizeUtil.px(70),),
              InkWell(
                child: Stack(
                  children: [
                    Align(
                      alignment: Alignment.topLeft,
                      child: Padding(
                        padding: EdgeInsets.only(left: SizeUtil.px(30)),
                        child: Text(
                          '禁言用户',style: TextStyle(fontSize: SizeUtil.px(29),color: Color(0xfff3f3f3)),
                        ),
                      ),
                    ),
                    Align(
                      alignment: Alignment.topRight,
                      child: Padding(
                        padding: EdgeInsets.only(right: SizeUtil.px(22)),
                        child: Icon(
                          Icons.arrow_forward_ios,size: SizeUtil.px(29),color: Color(0xffffffff),
                        ),
                      ),
                    ),
                  ],
                ),
                onTap: (){
                  print('禁言用户');
                },
              ),
              SizedBox(height: SizeUtil.px(70),),
              InkWell(
                child:  Stack(
                  children: [
                    Align(
                      alignment: Alignment.topLeft,
                      child: Padding(
                        padding: EdgeInsets.only(left: SizeUtil.px(30)),
                        child: Text(
                          '拉黑用户',style: TextStyle(fontSize: SizeUtil.px(29),color: Color(0xfff3f3f3)),
                        ),
                      ),
                    ),
                    Align(
                      alignment: Alignment.topRight,
                      child: Padding(
                        padding: EdgeInsets.only(right: SizeUtil.px(22)),
                        child: Icon(
                          Icons.arrow_forward_ios,size: SizeUtil.px(29),color: Color(0xffffffff),
                        ),
                      ),
                    ),
                  ],
                ),
                onTap: (){
                  print('拉黑用户');

                },
              ),

            ],
          ),
        ),
      )
    );
  }
}
